<ul id="mainSlides" class="full">
    <li class="full">
        <div class="box-thread">
            <h1><?php echo $resultB[0]['Name']; ?> ngày <?php echo $resultB[0]['ResultBDate']; ?></h1>
            <div class="content clear">
                <div class="sode left">
                    <h2>Đề</h2>
                    <span><?php echo $resultB[0]['de'] ?></span>
                </div>
                <div class="dauduoi left">
                    <h2>Đầu - Đuôi</h2>
                    <span><?php echo $resultB[0]['dau'] ?> - <?php echo $resultB[0]['duoi'] ?></span>
                </div>
                <div class="baolo left">
                    <h2>Lô</h2>
                    <span><?php echo $resultB[0]['G7_1'] ?> - <?php echo $resultB[0]['G7_2'] ?> - <?php echo $resultB[0]['G7_3'] ?> - <?php echo $resultB[0]['G7_4'] ?> - <?php echo $resultB[0]['giai61'] ?> - <?php echo $resultB[0]['giai62'] ?> - <?php echo $resultB[0]['giai63'] ?></span>
                    <span><?php echo $resultB[0]['giai51'] ?> - <?php echo $resultB[0]['giai52'] ?> - <?php echo $resultB[0]['giai53'] ?> - <?php echo $resultB[0]['giai54'] ?> - <?php echo $resultB[0]['giai55'] ?> - <?php echo $resultB[0]['giai56'] ?> - <?php echo $resultB[0]['giai41'] ?></span>
                    <span><?php echo $resultB[0]['giai42'] ?> - <?php echo $resultB[0]['giai43'] ?> - <?php echo $resultB[0]['giai44'] ?> - <?php echo $resultB[0]['giai31'] ?> - <?php echo $resultB[0]['giai32'] ?> - <?php echo $resultB[0]['giai33'] ?> - <?php echo $resultB[0]['giai34'] ?> </span>
                    <span><?php echo $resultB[0]['giai35'] ?> - <?php echo $resultB[0]['giai36'] ?> - <?php echo $resultB[0]['giai21'] ?> - <?php echo $resultB[0]['giai22'] ?> - <?php echo $resultB[0]['giai1'] ?></span>
                </div>
            </div>
        </div>
    </li>
    <?php for ($i = 0; $i < count($combine); $i++) { ?>
        <li class="full">
            <div class="box-thread">
                <h1><?php echo $combine[$i]['Name']; ?> NGÀY <?php echo $combine[$i]['ResultDate'] ?></h1>
                <div class="content clear">
                    <div class="sode left">
                        <h2>Đề</h2>
                        <span><?php echo $combine[$i]['de'] ?></span>
                    </div>
                    <div class="dauduoi left">
                        <h2>Đầu - Đuôi</h2>
                        <span><?php echo $combine[$i]['dau'] ?> - <?php echo $combine[$i]['duoi'] ?></span>
                    </div>
                    <div class="baolo left">
                        <h2>Lô</h2>
                        <span><?php echo $combine[$i]['G8'] ?> - <?php echo $combine[$i]['giai7'] ?> - <?php echo $combine[$i]['giai61'] ?> - <?php echo $combine[$i]['giai62'] ?> - <?php echo $combine[$i]['giai63'] ?> - <?php echo $combine[$i]['giai5'] ?></span>
                        <span><?php echo $combine[$i]['giai41'] ?> - <?php echo $combine[$i]['giai42'] ?> - <?php echo $combine[$i]['giai43'] ?> - <?php echo $combine[$i]['giai44'] ?> - <?php echo $combine[$i]['giai45'] ?> - <?php echo $combine[$i]['giai46'] ?></span>
                        <span><?php echo $combine[$i]['giai47'] ?> - <?php echo $combine[$i]['giai31'] ?> - <?php echo $combine[$i]['giai32'] ?> - <?php echo $combine[$i]['giai2'] ?> - <?php echo $combine[$i]['giai1'] ?> - <?php echo $combine[$i]['giaidb'] ?></span>
                    </div>
                </div>
            </div>
        </li>
    <?php } ?>
</ul>